
*{
    /* 取消内外间距 */
    padding: 0;
    margin: 0;
}
#box{
    height: 40px;
}
#box1{
    width:600px;
    height: 40px;
    /* background-color: red; */
    float: left;
    overflow: hidden;
}
li,a{
    list-style: none;
    text-decoration: none;

}
li{
    float: left;
    height: 40px;
    text-indent: 2em;
    line-height: 40px;
}
a:hover{
    color: green;
}
#box2{
    width: 160px;
    /* height: 40px; */
    /* background-color: blue; */
    float: right;
    /* line-height: 40px; */
}
#box2 .set{
    float: left;
    height: 40px;
    line-height: 40px;
}
#box2  .login{
    float: right;
    width: 80px;
    border-radius: 5px;
    background-color: blue;
    color: white;
    text-align: center;
    height: 26px;
    line-height: 26px;
    margin-top: 7px;
}

#div1{
    background-color: orange;
    height: 300px;
}